/**
 * @file bk8400.c
 * @author morris (a_morris@163.com)
 * @brief
 * @version 0.1
 * @date 2022-01-14
 *
 * @copyright Copyright (c) 2022
 *
 */
#include "bk8400.h"

void board_low_power_init(void)
{
/*old temp rod config*/	
    ///< 配置为端口输入,  下拉
  M0P_GPIO->PADIR = 0xFFFF;
  M0P_GPIO->PAPD  = 0xFFFD; /* PA1 无下拉 */

  M0P_GPIO->PBDIR = 0xE33E; /*  */
  M0P_GPIO->PBPD  = 0xE03F;

  M0P_GPIO->PCDIR = 0x3FFF; //
  M0P_GPIO->PCPD  = 0x3FFF;

  M0P_GPIO->PDDIR = 0xFFFF;
  M0P_GPIO->PDPD  = 0xFF7F;
	
}
